//
//  PayParam.m
//  ApeExample
//
//  Created by Eton on 2017/8/10.
//  Copyright © 2017年 王-庭协. All rights reserved.
//

#import "PayParam.h"

@implementation PayParam

+ (NSString *)stringWithpayDataType:(PayDataType )type{
    switch (type) {
        case PayDataType_VIP:
            return @"vip";
            break;
        case PayDataType_TASK:
            return @"task";
            break;
        case PayDataType_DEPOSIT:
            return @"deposit";
            break;
        case PayDataType_RECHARGE:
            return @"recharge";
            break;
        case PayDataType_INS_DEPOSIT:
            return @"ins_deposit";
            break;
        case PayDataType_INS_RECHARGE:
            return @"ins_recharge";
            break;
        case PayDataType_ORDER:
            return @"order";
            break;
        case PayDataType_INS_VIP1:
            return @"ins_vip_1";
            break;
        case PayDataType_INS_VIP3:
            return @"ins_vip_3";
            break;
        case PayDataType_INS_VIP6:
            return @"ins_vip_6";
            break;
        case PayDataType_INS_VIP12:
            return @"ins_vip_12";
            break;
        default:
            break;
    }
    return @"";
}

+ (NSString *)stringWithPayPlatformType:(PayPlatformType )type{
    switch (type) {
        case PayPlatformType_Balance:
            return @"balance";
            break;
        case PayPlatformType_Alipay:
            return @"alipay";
            break;
        case PayPlatformType_Wechat:
            return @"wechat";
            break;
        default:
            break;
    }
    return @"";
}

@end
